package com.imelite.qyh.action;

import com.imelite.qyh.model.EliteCRMView_OrgUser;
import com.imelite.qyh.util.BaseUserUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class MyCourseAction {
    @RequestMapping("/com/imelite/qyh/MyCourseAction/get_list")
    public String get_list(HttpServletRequest request, HttpServletResponse response){
        EliteCRMView_OrgUser user= BaseUserUtil.getUser(request);
        request.setAttribute("userId",user.getId());
        return "/Elite/Elite_MyCourse";
    }
}
